
#include "Observer1.h"
#include <iostream>

void Observer1::DoSomething(Event* e)
{
  std::cout << "观察者1号收到通知！" << std::endl;
  std::cout << "消息来自: " << e->get_source() << std::endl;
  std::cout << "消息详情：" << e->get_detail() << std::endl;
}

Observer1::~Observer1() = default;
